package org.jeecg.modules.putstorage.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.system.base.entity.ApprovalBaseEntity;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 物资入库表
 * @Author: jeecg-boot
 * @Date:   2022-10-17
 * @Version: V1.0
 */
@ApiModel(value="zcgl_put_storage对象", description="物资入库表")
@Data
@TableName("zcgl_put_storage")
public class ZcglPutStorage  implements Serializable {
    private static final long serialVersionUID = 1L;
	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**单据编码自动生成*/
	@Excel(name = "单据编码自动生成", width = 15)
    @ApiModelProperty(value = "单据编码自动生成")
    private String orderCode;
    /**入库部门*/
    @Excel(name = "入库部门", width = 15,dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "入库部门")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    private String putDepartment;
    /**入库的仓库*/
    @Excel(name = "入库部门", width = 15,dictTable = "zcgl_asset_fixed_category", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "入库部门")
    @Dict(dictTable = "zcgl_asset_fixed_category", dicText = "name", dicCode = "id")
    private String storage;
    /**制单人*/
    @Excel(name = "制单人", width = 15,dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @ApiModelProperty(value = "制单人")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    private String putUser;

    /**图片*/
    @Excel(name = "验收单", width = 15)
    @ApiModelProperty(value = "验收单")
    private String image;

    /**图片*/
    @ApiModelProperty(value = "事前审批单")
    private String imageSqspd;



    @ApiModelProperty(value = "流程说明")
    private String processDescription;
    @ApiModelProperty(value = "流程状态")
    private Integer processStatus;
    @ApiModelProperty(value = "流程状态说明")
    private String processStatusText;



    @TableField(exist = false)
    @ApiModelProperty(value = "物资id")
    private String assetId;
}
